package com.ruoyi.system.domain;

import java.util.Date;
import com.fasterxml.jackson.annotation.JsonFormat;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.core.annotation.Excel;
import com.ruoyi.common.core.web.domain.BaseEntity;

/**
 * 车辆对象 A_vehicles
 * 
 * @author lbw
 * @date 2025-03-31
 */
public class AVehicles extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 车辆ID */
    private Long id;

    /** 车牌号 */
    @Excel(name = "车牌号")
    private String licensePlate;

    /** 品牌 */
    @Excel(name = "品牌")
    private String brand;

    /** 购车年份 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "购车年份", width = 30, dateFormat = "yyyy-MM-dd")
    private Date purchaseYear;

    /** 所属单位ID */
    @Excel(name = "所属单位ID")
    private Long organizationId;

    /** 车辆状态 */
    @Excel(name = "车辆状态")
    private String status;

    /** 车辆类型 */
    @Excel(name = "车辆类型")
    private String type;

    /** 座位数 */
    @Excel(name = "座位数")
    private Long seatCount;

    public void setId(Long id) 
    {
        this.id = id;
    }

    public Long getId() 
    {
        return id;
    }
    public void setLicensePlate(String licensePlate) 
    {
        this.licensePlate = licensePlate;
    }

    public String getLicensePlate() 
    {
        return licensePlate;
    }
    public void setBrand(String brand) 
    {
        this.brand = brand;
    }

    public String getBrand() 
    {
        return brand;
    }
    public void setPurchaseYear(Date purchaseYear) 
    {
        this.purchaseYear = purchaseYear;
    }

    public Date getPurchaseYear() 
    {
        return purchaseYear;
    }
    public void setOrganizationId(Long organizationId) 
    {
        this.organizationId = organizationId;
    }

    public Long getOrganizationId() 
    {
        return organizationId;
    }
    public void setStatus(String status) 
    {
        this.status = status;
    }

    public String getStatus() 
    {
        return status;
    }
    public void setType(String type) 
    {
        this.type = type;
    }

    public String getType() 
    {
        return type;
    }
    public void setSeatCount(Long seatCount) 
    {
        this.seatCount = seatCount;
    }

    public Long getSeatCount() 
    {
        return seatCount;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("licensePlate", getLicensePlate())
            .append("brand", getBrand())
            .append("purchaseYear", getPurchaseYear())
            .append("organizationId", getOrganizationId())
            .append("status", getStatus())
            .append("type", getType())
            .append("seatCount", getSeatCount())
            .toString();
    }
}
